/*
 * Copyright (c) 2025 Industrial Software Feature Database
 */
package com.comac.ins.isfd.domain;

import com.anwen.mongo.annotation.ID;
import com.anwen.mongo.annotation.collection.CollectionField;
import com.anwen.mongo.annotation.collection.CollectionName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 算子实体类
 *
 * @author hxloongs
 * @date 2024-7-8
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@CollectionName(value = "analysis_config")
public class IsfdAnalysisConfig {

    @ID
    private String _id;

    @CollectionField("analysis_ref_id")
    private String analysisRefId;

    @CollectionField("coordinate")
    private List<Float> coordinate;

    @CollectionField("startAt")
    private List<Integer> startAt;

    @CollectionField("endAt")
    private List<Integer> endAt;

    @CollectionField("label")
    private String label;

    @CollectionField("node_type")
    private String nodeType;

    @CollectionField("operator_ref_id")
    private String operatorRefId;

    @CollectionField(value = "operator_type")
    private String operatorType;

    @CollectionField("parent")
    private List<String> parent;

    @CollectionField("source_ref_id")
    private String sourceRefId;

    @CollectionField("target_ref_id")
    private String targetRefId;
}
